/**
 * @(#)T_Sentier_N2.java
 *
 *
 * @author
 * @version 1.00 2011/5/11
 */


public class T_Sentier_N2 {

   public static void main (String[] args)  throws Throwable {

      Tests.Begin("_Himalaya.Sentier", "1.0.0");

         Tests.Design("Controle des methodes", 3); {

           /*Tests.Case("Controle methode clone"); {
           		Village v1 = null;
            	Village v2 = null;
            	Sentier s1 = null;
				try{
					v1 = new Village(1,1,"rouge",true);
            		v2 = new Village(2,1,"vert",true);	
					s1 = new Sentier ("glace",v1,v2);
				}
				catch (Throwable t){}
				Object o1;
				Sentier s2 = (Sentier) s1.clone();
				Tests.Unit(true,s1.equals(s2));
            }*/
            
            Tests.Case("Controle methode equals"); {
            	Village v1 = null;
            	Village v2 = null;
            	Sentier s1 = null;
				try
				{
					v1 = new Village(1,0,"rouge",true);
            		v2 = new Village(2,0,"vert",true);
					s1 = new Sentier ("terre",v1,v2);

				}
				catch (Throwable t){}
				Tests.Unit(true,s1.equals(s1));
            }
			
            Tests.Case("Controle methode toString"); {
            	Village v1 = null;
            	Village v2 = null;
            	Sentier s1 = null;
				try
				{
					v1 = new Village(1,0,"rouge",true);
            		v2 = new Village(2,0,"vert",true);
					s1 = new Sentier ("pierre",v1,v2);					
				}
				catch (Throwable t){}
				Tests.Unit("[1]pierre[2]",s1.toString());
            }
         }

      Tests.End();
   }
}